<?php 

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/','My\IndexController@index');
Route::get('/home','My\Pro\ProController@mysy');

// Registration routes...
Route::get('user/reg', 'My\User\UserController@getRegister');
Route::post('user/reg', 'My\User\UserController@postRegister');
// Authentication routes...
Route::get('user/login', 'My\User\UserController@getLogin');
Route::post('user/login', 'My\User\UserController@postLogin');
Route::get('user/logout', 'My\User\UserController@getLogout');

Route::get('pro/jie' , 'My\Pro\ProController@jie');
Route::post('pro/jie' , 'My\Pro\ProController@postJie');

Route::get('pro/prolist','My\Pro\ProController@prolist');

Route::get('pro/check/{pid}' , 'My\Pro\ProController@check');
Route::post('pro/check/{pid}' , 'My\Pro\ProController@postCheck');

Route::get('bid/bid/{pid}','My\Bid\BidController@bid');
Route::get('bid/touzi/{pid}','My\Bid\BidController@touzi');







